﻿using Assets.BattleSystem.EnemyConfigs;
using Assets.Script.Human.Player.Config;
using Assets.Script.NetSystem.Battle;
using LiteNetLib;
using Script.NetSystem.Services.RoomAndBattle.RoomService.Handler;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Script.NetSystem.Services.RoomAndBattle.BattleService;
using Script.UiSystem;
using UnityEditor.SceneManagement;
using UnityEngine;

namespace Assets.Script.BattleSystem.Core
{
    public class BattleManager
    {
        public float DeltaTime { get; private set; } = 0.015f;
        public float ServerTime { get; private set; }

        public EnemyManager enemyManager;

        public PlayerManager playerManager;

        public BattleManager(CaseSpawnConfig caseConfig, RoleData[] roles)
        {
            enemyManager = new EnemyManager(this,caseConfig);
            playerManager = new PlayerManager(roles);
        }



    }
}
